package com.hex.ds.hdtp.core.inf.script.transfer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hex.ds.hdtp.core.inf.script.transfer.po.ScriptConvertTaskPo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Package: com.hex.ds.hdtp.core.inf.script.transfer.mapper
 * @ClassName IScriptConvertTaskMapper
 * @Description: 脚本转换任务-数据接口
 * @Author: wz.li
 * @Date 2023/2/12 10:02
 * @Version v2.0.2
 **/
@Repository
public interface IScriptConvertTaskMapper extends BaseMapper<ScriptConvertTaskPo> {

    IPage<ScriptConvertTaskPo> queryListByPage(IPage<ScriptConvertTaskPo> page, @Param("po")  ScriptConvertTaskPo scriptConvertTaskPo);

    void modifySuccessNum(String pkId);

    void modifyFailNum(String pkId);

    void modifyStatus(String pkId, String nowTs);

    Integer modifyTaskStart(String pkId, String status, String startTs);

}
